package com.itheima.goods.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.goods.pojo.Brand;
import org.apache.ibatis.annotations.Select;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;


public interface BrandMapper extends BaseMapper<Brand> {
    @Select("select * from tb_brand")
    List<Brand> findAll();

}
